'''
Created on 2012-10-8

@author: infear
'''

class LinkedNode():
    '''
    classdocs
    '''
    def __init__(self,_next,_val):
        self.next=_next
        self.value=_val


def _print(nod):
    _p1=nod
    while(_p1 is not None):
        print _p1.value
        _p1=_p1.next